package com._119yn.host.gst200.cansocket.message;

import lombok.Getter;

@Getter
public class CanFrame {

    protected String canId;

    protected String canData;

    protected String lineData;

    public CanFrame(String lineData) {
        String[] datum = lineData.split("#");
        this.canId = datum[0];
        this.canData = datum[1];
        this.lineData = lineData;
    }

    @Override
    public String toString() {
        return lineData;
    }

}
